<?php if ($this->pageCount): ?>
	<div>
		<!-- Link para primeira pagina -->
		<?php if (isset($this->previous)): ?>
		  <a href="<?php echo $this->url(array('pagina' => $this->first)); ?>">Primeira</a> | 
		<?php else: ?>
		  <!-- <span class="disabled">Primeira</span> | -->
		<?php endif; ?>
		
		<?php if ($this->pageCount > 1): ?>
		<!-- Páginas:  -->
		<?php endif; ?>
		<!-- Pagina Anterior (Verifica se existe)--> 
		<?php if (isset($this->previous)): ?> 
	  		<a href="<?php echo $this->url(array('pagina' => $this->previous)); ?>">Anterior</a> | 
		<?php else: ?> 
	  		<!--<span class="disabled">&#171; Anterior</span> | -->
		<?php endif; ?> 
	
		<!-- Numero das paginas  -->
		<?php foreach ($this->pagesInRange as $pagina): ?> 
			<?php if ($pagina != $this->current): ?>
		    	<a href="<?php echo $this->url(array('pagina' => $pagina)); ?>"><?php echo $pagina; ?></a> | 
		  	<?php elseif ($this->pageCount > 1): ?>
		    	<?php echo $pagina; ?> |
		  	<?php endif; ?>
		<?php endforeach; ?>
	
		<!-- Proxima Pagina (Verifica se existe) --> 
		<?php if (isset($this->next)): ?> 
		  	<a href="<?php echo $this->url(array('pagina' => $this->next)); ?>">Próxima</a>
		<?php else: ?> 
		  	<!--<span class="disabled">Próxima &#187;</span>-->
		<?php endif; ?>
		
		<!-- Link para ultima pagina -->
		<?php if (isset($this->next)): ?>
			<a href="<?php echo $this->url(array('pagina' => $this->last)); ?>"> | Última</a>
		<?php else: ?>
			<!-- <span class="disabled">Last</span> -->
		<?php endif; ?>
	</div> 
<?php endif; ?>